<?php

class LABB_Module_1 extends LABB_Module {

    function render() {

        $module = $this;

        ob_start();
        ?>

        <article
                class="labb-module-1 <?php echo $module->get_module_classes(); ?> <?php echo join(' ', get_post_class('', $module->post_ID)); ?>">

            <div class="labb-module-image">
                <?php echo $module->get_thumbnail(); ?>
                <?php echo $module->get_taxonomies_info(); ?>
            </div>

            <?php echo $module->get_title(); ?>

            <div class="labb-module-meta">
                <?php echo $module->get_author(); ?>
                <?php echo $module->get_date(); ?>
                <?php echo $module->get_comments(); ?>
            </div>

            <div class="labb-excerpt">
                <?php echo $module->get_excerpt(); ?>
            </div>

            <?php echo $module->get_read_more_link(); ?>

        </article>

        <?php $output = ob_get_clean();

        return apply_filters('labb_block_module_1', $output, $module);
    }
}